package com.bwda.dsrs.filecenter.service.impl;

import com.bwda.dsrs.filecenter.domain.po.kmsscene.KmsScenePo;
import com.bwda.dsrs.filecenter.domain.condition.kmsscene.KmsSceneCondition;
import com.bwda.dsrs.filecenter.mapper.dsrs.KmsSceneMapper;
import com.bwda.dsrs.filecenter.service.KmsSceneService;
import org.springframework.stereotype.Service;
/**
 * @author Administrator
 */
@Service
public class KmsSceneServiceImpl extends BaseServiceImpl<KmsScenePo, KmsSceneCondition, KmsSceneMapper> implements KmsSceneService {

    @Override
    public void deleteByIds(Integer[] sceneId) {
        //删除策略任务表
        this.getMapper().deleteByIds(sceneId);
    }

    @Override
    public int countByTaskCode(KmsScenePo po) {
        return this.getMapper().countByTaskCode(po);
    }
}